<template>
  <div class="goodslist">
    <goods-list-item
      v-for="item in goods"
      :goods-item="item"
      :key="item.id"
    >
    </goods-list-item>
  </div>
</template>

<script>
import GoodsListItem from "components/content/goods/GoodsListItem";
export default {
  name: "Goodslist",
  props: {
    goods: {
      type: [Array,Object],
      default() {
        return [];
      },
    },
  },

  data() {
    return {};
  },
  components: {
    GoodsListItem,
  },
};
</script>

<style  scoped>
.goodslist {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
}
</style>
